﻿/**
 *    Copyright 2006 - 2011 Opera Software ASA
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 *
 **/


.errors-table tr {
  vertical-align: top;
}

/* Expander cell */
.errors-table > tr:not(.error-details) > td:nth-child(1),
/* Icon cell */
.errors-table tr td.icon_cell {
  text-align: center;
  width: 16px;
}

.errors-table tr td.location {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.errors-table tr td.context {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.errors-table .ui-button {
  height: 7px;
  width: 9px;
  background: transparent url('../ui-images/toggle.png') no-repeat;
  border: 0;
  margin: 0 5px 0 2px;
  padding: 0;
  cursor: pointer;
  -o-transition: -o-transform .2s;
}

.errors-table > tr.expanded .ui-button {
    -o-transform: rotate(90deg);
}

.errors-table .expand_cell {
  border-right: none;
  padding-right: 0;
  width: 16px;
}

.errors-table .main {
  border-left: none;
  padding-left: 3px;
}

.errors-table tr, .errors-table tr pre {
  color: rgb(68, 68, 68);
}

.errors-table tr:hover, .errors-table tr:hover pre {
  color: rgb(0, 0, 0);
}

.errors-table .main pre {
  margin: 0;
}

/* collapse */
.errors-table .main .details {
  display: none;
}

/* expand */
.errors-table .expanded .main .details {
  display: block;
}

.errors-table .severity {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  background: url('../ui-images/error-console-info.png') no-repeat;
}

.errors-table .severity.debug {
  background-image: url('../ui-images/error-console-info.png');
}

.errors-table .severity.information {
  background-image: url('../ui-images/error-console-info.png');
}

.errors-table .severity.verbose {
  background-image: url('../ui-images/error-console-warning.png');
}

.errors-table .severity.error {
  background-image: url('../ui-images/error-console-error.png');
}

.errors-table .severity.critical {
  background-image: url('../ui-images/error-console-error.png');
}

.ui-button[key="request_list.expand-all-entries"]:before
{
  background-image: url('../ui-images/btn-log-threads.png');
}

#error-console-css-filter
{
  width: 98%;
  display: block;
  margin: 3px 0;
}
